<% form_for(@entry) do |f| %>
  <%= f.error_messages %>

  <%= render :partial => 'form', :locals => { :f => f } %>

  <p>
    <input id="entry_submit" name="commit" type="submit" value="Create" onClick="convertLapToMiles()" />
  </p>
<% end %>
